<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>Voyages</title>
        <link rel="stylesheet" type="text/css" href="<?php echo $BASE_URL; ?>styles/lib/bootstrap.min.css"  />
        <link rel="stylesheet" type="text/css" href="<?php echo $BASE_URL; ?>styles/lib/jquery.datetimepicker.css"  />
       
        <script src="<?php echo $BASE_URL; ?>js/lib/jquery-1.11.1.min.js">  </script>
        <script src="<?php echo $BASE_URL; ?>js/lib/jquery.datetimepicker.js">  </script>
        <script src="<?php echo $BASE_URL; ?>js/lib/bootstrap.min.js">  </script>
        <script src="<?php echo $BASE_URL; ?>js/home.js">  </script>
	<style type="text/css"></style>
</head>
<body>
<div id="container">
    <?php include_once 'modal_connexion.php';?>
    <?php include_once 'modal_new_client.php';?>
    <?php include_once 'modal_Altert.php';?>    
    <nav class="navbar navbar-default" role="navigation">
        <div class="container-fluid">
          <!-- Brand and toggle get grouped for better mobile display -->
          <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="<?php echo $BASE_URL; ?>">Voyageur</a>
            
          </div>

          <!-- Collect the nav links, forms, and other content for toggling -->
          <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <li class="dropdown">
                  <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false" ><span class="glyphicon glyphicon-user" aria-hidden="true"></span><span id="spanUser"><?php echo " ".$USER_MAIL;?> </span><span class="caret"></span></a>
                  <ul class="dropdown-menu" role="menu">
                    <li class="<?php echo $LOGGED?"show":"hidden";?>" id="ongletDeconnexion"><a href="<?php echo $BASE_URL."ClientController/deconnexion";?>" >Déconnexion</a></li>
                    <li class="<?php echo $LOGGED?"hidden":"show";?>" id="ongletConnexion"><a href="#" data-toggle="modal" data-target="#connexionModal" >Connexion</a></li>
                    <li class="<?php echo $LOGGED?"hidden":"show";?>" id="ongletInscription"><a href="#" data-toggle="modal" data-target="#newClientModal" >Inscription</a></li>
                  </ul>
                </li>
            </ul>
          </div><!-- /.navbar-collapse -->
      </div><!-- /.container-fluid -->
    </nav>
	<div id="body">
            <div class="container">
		<?php include($SUBVIEW.'.php'); ?>
            </div>
	</div>

	<p class="footer">Page rendered in <strong>{elapsed_time}</strong> seconds</p>
</div>
<script>
    
    $(document).ready(function(){
        $("#ongletDeconnexion").click(function(){
            
         });
   });
       
</script>
</body>
</html>